﻿using AprenderComendo.Models;
using FluentNHibernate.Mapping;

namespace AprenderComendo.Infrastructure.FluentMappings
{
    public class PersonMap: ClassMap<Person>
    {
        public PersonMap()
        {
            Table("Person");
            Id(p => p.Name).Access.CamelCaseField();
        }
    }
}